{__NOLAYOUT__}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <title>跳转提示</title>
    <style type="text/css">
        *{margin: 0;padding: 0}
        a{text-decoration: none;}
        .wp{width: 100%;max-width: 750px;margin: 0 auto;}
        h3{font-size: 20px;text-align: center;color: #999;margin-top: 100px;font-weight: normal;}
        h4{font-size: 14px;text-align: center;padding: 0 4%;color: #666;font-weight: normal;margin-top: 10px;}
        h4 a{color: #dd0a0a;white-space: nowrap;}
        h4 a span{margin-left: 4px;}
        .img{width: 60%;margin: 40px auto 0;max-width: 524px;}
        .img img{width: 100%;}
    </style>
</head>
<body>
    <div class="system-message">
        <h3>
            <?php switch ($code) {?>
            <?php case 1:?>
            <p class="success"><?php echo(strip_tags($msg));?></p>
            <?php break;?>
            <?php case 0:?>
            <p class="error"><?php echo(strip_tags($msg));?></p>
            <?php break;?>
            <?php } ?>
        </h3>
        <h4>如果<b id="wait"><?php echo($wait);?></b>秒内浏览器没有正常跳转，<a id="href" href="<?php echo($url);?>">请点击这里<span>>></span></a></h4>
        <div class="img">
            <img src="__PUBLIC__/home/fbot/img/huojian.jpg">
        </div>
    </div>
    <script type="text/javascript">
        (function(){
            var wait = document.getElementById('wait'),
                href = document.getElementById('href').href;
            var interval = setInterval(function(){
                var time = --wait.innerHTML;
                if(time <= 0) {
                    location.href = href;
                    clearInterval(interval);
                };
            }, 1000);
        })();
    </script>
</body>
</html>
